aux_source_directory(. SRC_LIST)
aux_source_directory(./buffer BUFFER)
aux_source_directory(./epoller EPOLLER)
aux_source_directory(./http HTTP)
aux_source_directory(./pool POOL)
aux_source_directory(./server SERVER)
aux_source_directory(./timer TIMER)

add_executable(WebServer ${SRC_LIST} ${BUFFER} ${EPOLLER} ${HTTP} ${POOL} ${SERVER} ${TIMER})

target_link_libraries(WebServer pthread)